<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>案例_新闻列表</title>
    <!-- 导入样式表 -->
    <style>
      .news-item {
        display: flex;
        border: 1px solid #eee;
        width: 700px;
        padding: 10px;
        margin-bottom: 5px;
      }

      .thumb {
        display: block;
        width: 230px;
        height: 140px;
        background-color: #ccc;
        margin-right: 10px;
      }

      .right-box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        font-size: 12px;
        flex: 1;
      }

      .title {
        font-size: 20px;
        font-weight: normal;
      }

      .tags span {
        display: block;
        float: left;
        background-color: #F0F0F0;
        line-height: 20px;
        padding: 0 10px;
        border-radius: 10px;
        margin-right: 8px;
      }

      .footer {
        display: flex;
        justify-content: space-between;
      }
    </style>
  </head>

  <body>
    <!-- 新闻列表 -->
    <div id="news-list">
      <!-- 新闻的 item 项 -->
      <div class="news-item">
        <img class="thumb" src="http://123.57.109.30:3006/images/5.webp" alt="" />
        <div class="right-box">
          <!-- 新闻标题 -->
          <h1 class="title">5G商用在即，三大运营商营收持续下降</h1>
          <div class="footer">
            <div>
              <!-- 新闻来源 -->
              <span>胡润百富</span>&nbsp;&nbsp;
              <!-- 发布日期 -->
              <span>2019-10-28 10:14:38</span>
            </div>
            <!-- 评论数量 -->
            <span>评论数：66</span>
          </div>
        </div>
      </div>
    </div>
  </body>

</html>